#ifndef BULLET_UTIL_H
#define BULLET_UTIL_H

#include "btBulletDynamicsCommon.h"

#include "BulletCollision/CollisionDispatch/btGhostObject.h"
#include "BulletDynamics/Character/btKinematicCharacterController.h"

#include "Game Engine/Header/d3dUtil.h"

#define CUBE_HALF_EXTENTS 0.5
#define EXTRA_HEIGHT 1.f

// DirectX to Bullet Helper Functions
btVector3 BTVector3( const D3DXVECTOR3& v );
btQuaternion BTQuaternion( const D3DXQUATERNION &q );
btTransform BTMatrixRotation( const D3DXMATRIX& m );

// Bullet to DirectX Helper Functions
D3DXVECTOR3 BT2DX_VECTOR3(const btVector3 &v);
D3DXQUATERNION BT2DX_QUATERNION(const btQuaternion &q);
D3DXMATRIX BT2DX_MATRIX(const btMotionState &ms);
D3DXMATRIX BT2DX_MATRIX(const btTransform &ms);

#endif